import { createApp } from "vue"
import "@/style/index.scss"
import App from "./App.vue"
import router from "./router/index"
import { createPinia } from "pinia"
import "normalize.css/normalize.css" //清除默认样式
import installElementPlus from "@/plugins/element.ts" //全局消息、弹窗提示
import piniaPluginPersistedstate from "pinia-plugin-persistedstate"
// import "./permission"
const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate) // 安装持久化插件
app.use(router)
app.use(pinia)
app.use(installElementPlus)
app.mount("#app")
